package com.jse.upload;

import javax.servlet.ServletContext;

public class AppUtil {

	private ServletContext sc;

	public String getPath(String path) {
		String str = sc.getRealPath(path);
		str = str.substring(0, str.indexOf("tomcat") + 7) + "webapps\\upload\\temp\\";
		return str;
	}
}
